package com.shinbada.modules.competitor.mapper;

import org.springframework.stereotype.Repository;
import com.shinbada.core.persistence.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.shinbada.modules.competitor.entity.CompetitorAdditional;

import java.util.List;

/**
 * 附加模块MAPPER接口
 * @author initcap
 * @version 2021-08-11
 */
@Mapper
@Repository
public interface CompetitorAdditionalMapper extends BaseMapper<CompetitorAdditional> {
    /**
     *根据控制器id获取该控制器所有的附加模块
     * @param controlId
     * @return
     */
    List<CompetitorAdditional> getAdditionalByControlId(String controlId);
}
